//-----------------------------------------------------------------------
// <copyright file="HelpCatBase.cs" company="FetCo">
//     Copyright (c) FetCo. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace ADESSA.Entities
{
	[Serializable]
	public class HelpCatBase
	{
		
		#region Variable Declarations
		public static string _Table = "HelpCat";
		private long				catId = 0;
		private string				name = string.Empty;
		private string				description = string.Empty;
		private long				sortOrder = 0;
		private bool				enable = false;
		private long				parrentid = 0;
		private int				catLevel = 0;
		#endregion
		
		#region Constructors
		public HelpCatBase() {}
		
		public HelpCatBase (
			long catId,
			string name,
			string description,
			long sortOrder,
			bool enable,
			long parrentid,
			int catLevel)
		
		{
			this.catId = catId;
			this.name = name;
			this.description = description;
			this.sortOrder = sortOrder;
			this.enable = enable;
			this.parrentid = parrentid;
			this.catLevel = catLevel;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long CatId
		{
			get { return catId; }
			set { catId = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Name
		{
			get { return name; }
			set { name = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is ntext</value>
		public string Description
		{
			get { return description; }
			set { description = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long SortOrder
		{
			get { return sortOrder; }
			set { sortOrder = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool Enable
		{
			get { return enable; }
			set { enable = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bigint</value>
		public long Parrentid
		{
			get { return parrentid; }
			set { parrentid = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int CatLevel
		{
			get { return catLevel; }
			set { catLevel = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum HelpCatColumns
	{
		CatId,
		Name,
		Description,
		SortOrder,
		Enable,
		Parrentid,
		CatLevel
	}//End enum
}